package com.nosnow.cms.controller;


import com.nosnow.cms.entity.CrmBanner;
import com.nosnow.cms.service.CrmBannerService;
import com.nosnow.common.utils.R;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 首页banner表 前端控制器
 * </p>
 *
 * @author bingheng
 * @since 2020-04-18
 */
@RestController
@RequestMapping("/cms/banner")
public class CrmBannerAdminController {

    private CrmBannerService crmBannerService;

    // TODO 后台管理相关的轮播图的增删改查操作待完善

    @PostMapping("pageCrmBannerAdmins/{current}/{limit}")
    public R pageCrmBannerAdmins(@PathVariable long current, @PathVariable long limit, @RequestBody(required = false)CrmBanner crmBanner) {



        return R.ok();
    }

}

